const env = import.meta.env.MODE;
console.log("env", env)

console.log("env1", import.meta.env)


const EnvConfig = {
  development: {
    baseApi: import.meta.env.VITE_APP_API_BASEURL,
    mockApi: "https://gitee.com/oauth/authorize",
  },
  prod: {
    baseApi: import.meta.env.VITE_APP_API_BASEURL,
  }
}




const appConfig = {
  env,
  mock: false,
  namespace: "api",
  ...EnvConfig[env],
}

export default appConfig;